Skip to content

fix(plugins): show last-modified date on plugin cards, not first-published#368

Merged
JohnMcLear merged 2 commits intoether:masterfrom
JohnMcLear:fix/plugin-card-modified-date
Apr 17, 2026
Merged

fix(plugins): show last-modified date on plugin cards, not first-published#368
JohnMcLear merged 2 commits intoether:masterfrom
JohnMcLear:fix/plugin-card-modified-date

Conversation

@JohnMcLear
Copy link
Copy Markdown
Member

Summary

Plugin cards on /plugins were reading as stale ("8 months ago" for ep_list_pads, etc.) even though the plugin had been updated days earlier. The card's date was rendered from `plugins.time` — npm's first-publish timestamp, which never changes — rather than `plugins.modified`.

Switch to `plugins.modified` so the "X ago" label reflects actual recency. Full ISO date is kept as a `title` tooltip.

Example

  • ep_list_pads: first published 2025-08-25, last modified 2026-04-15.
    • Before: "8 months ago"
    • After: "2 days ago"

Test plan

  • `pnpm run build` succeeds; no type errors.
  • /plugins loads: plugins updated this month read as "X days ago", not "X months ago"

🤖 Generated with Claude Code

JohnMcLear and others added 2 commits April 17, 2026 12:31
The `.max-w-xl` quick-install container sat flush-left against the
hero copy with only `mt-4` above it, so on wider viewports it
hugged the left gutter and crowded the subhead. Add `mx-auto` to
centre it within the `.wrap`, `my-8` to give it clear vertical
separation from the paragraph above and the demo gif below, and
`p-2` to pad the tab/command/caption stack away from the border.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…t-published

The date next to each plugin's version was rendered from
\`plugins.time\` — the npm first-publish timestamp, which stays fixed
for the lifetime of the package. That's why actively-maintained
plugins like ep_list_pads (first published 2025-08-25, last modified
2026-04-15) were reading as "8 months ago" on /plugins even though
a new version shipped two days earlier.

Render \`plugins.modified\` (npm last-publish timestamp) instead, so
the card reflects actual recency. Exact ISO date is kept as a tooltip
for anyone who wants it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@JohnMcLear JohnMcLear merged commit e8a1d37 into ether:master Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant